<!DOCTYPE html>
<html>
<head>
<title>GeoExplorer</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="http://suite.opengeo.org/geoexplorer/theme/app/img/favicon.ico">
<!-- Ext resources -->
<link rel="stylesheet" type="text/css" href="externals/ext/resources/css/ext-all.css">
<link rel="stylesheet" type="text/css" href="externals/ext/resources/css/xtheme-gray.css">
<script type="text/javascript" src="externals/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="externals/ext/ext-all.js"></script>
<!-- OpenLayers resources -->
<link rel="stylesheet" type="text/css" href="externals/openlayers/theme/default/style.css">
<script type="text/javascript" src="script/OpenLayers.js"></script>
<!-- GeoExt resources -->
<link rel="stylesheet" type="text/css" href="externals/geoext/resources/css/popup.css">
<link rel="stylesheet" type="text/css" href="externals/geoext/resources/css/layerlegend.css">
<link rel="stylesheet" type="text/css" href="externals/geoext/resources/css/gxtheme-gray.css">
<script type="text/javascript" src="script/GeoExt.js"></script>
<!-- gxp resources -->
<link rel="stylesheet" type="text/css" href="css/all.css">
<script type="text/javascript" src="script/gxp.js"></script>
<!-- proj4js resources -->
<!--<script type="text/javascript" src="externals/proj4js/lib/proj4js-compressed.js"></script>-->
<!-- GeoExplorer resources -->
<link rel="stylesheet" type="text/css" href="css/geoexplorer.css" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="theme/app/ie.css"/><![endif]-->
<link rel="stylesheet" type="text/css" href="css/color-picker.ux.css" />
<script type="text/javascript" src="script/GeoExplorer.js"></script>
<script type="text/javascript" src="script/ux.js"></script>
<!-- PrintPreview resources -->
<link rel="stylesheet" type="text/css" href="css/printpreview.css">
<script type="text/javascript" src="script/PrintPreview.js"></script>
<script>
// optionally set locale based on query string parameter
if (GeoExt.Lang) {
GeoExt.Lang.set(OpenLayers.Util.getParameters()["locale"] || GeoExt.Lang.locale);
}
Ext.BLANK_IMAGE_URL = "http://suite.opengeo.org/geoexplorer/theme/app/img/blank.gif";
OpenLayers.ImgPath = "http://suite.opengeo.org/geoexplorer/externals/openlayers/img/";
// optionally set locale based on query string parameter
if (GeoExt.Lang) {
GeoExt.Lang.set(OpenLayers.Util.getParameters()["locale"] || GeoExt.Lang.locale);
}
var app = new GeoExplorer.Composer({
authStatus: 200,
proxy: "proxy/?url=",
printService: "/geoserver/pdf/",
about: {
title: "GeoExplorer Demo Map",
"abstract": "This is a demonstration of GeoExplorer, " +
"an application for assembling and publishing web " +
"based maps. After adding layer to the map, find " +
"the 'Export Map' button above to embed this map " +
"in any web page.",
contact: "For more information, contact <a href='http://opengeo.org'>OpenGeo</a>."
},
defaultSourceType: "gxp_wmscsource",
sources: {
local: {
url: "/geoserver/ows",
title: "Local GeoServer",
ptype: "gxp_wmscsource"
},
suite: {
url: "http://v2.suite.opengeo.org/geoserver/ows",
title: "Remote Suite GeoServer"
},
mapquest: {
ptype: "gxp_mapquestsource"
},
osm: {
ptype: "gxp_osmsource"
},
google: {
ptype: "gxp_googlesource"
},
bing: {
ptype: "gxp_bingsource"
},
ol: {
ptype: "gxp_olsource"
}
},
map: {
projection: "EPSG:102113",
units: "m",
maxResolution: 156543.0339,
maxExtent: [
-20037508.34, -20037508.34,
20037508.34, 20037508.34
],
layers: [{
source: "google",
title: "Google Roadmap",
name: "ROADMAP",
group: "background"
}, {
source: "ol",
group: "background",
fixed: true,
type: "OpenLayers.Layer",
args: [
"None", {visibility: false}
]
}],
center: [0, 0],
zoom: 2
}
});
</script>
</head>
<body>
</body>
</html>
